from PyQt5.QtGui import *
from PyQt5.QtWidgets import *
from PyQt5.QtCore import *

class ManageBtn(QWidget):
    def __init__(self):
        self.btn1 = QPushButton("新建课程")
        self.btn2 = QPushButton("修改课程")
        self.btn3 = QPushButton("汇总统计")
        self.btn4 = QPushButton("毕业指标")
        self.layout = QHBoxLayout()
        self.setLayout(self.layout)
        self.layout.addWidget(self.btn1)
        self.layout.addWidget(self.btn2)
        self.layout.addWidget(self.btn3)
        self.layout.addWidget(self.btn4)
class classType(QWidget):
    def __init__(self):
        self.resize(530,326)
        pal = QPalette(self.palette())
        pal.setColor(QPalette.Background,QColor(242,242,242))
        self.setAutoFillBackground(True)
        self.setPalette(pal)